//底部  tabbar  的选项类型
 export interface MyBarItem{
    id:number,
    to:string,
    icon:string,
    title:string
}


//轮播图每一项的接口
export interface MyBannerItem {
    alt?: string ,
    readonly banerid: string ,
    flag?: boolean ,
    img: string ,
} 


//秒杀每一项的接口
type MyIsSale = 0| 1
export interface MyhotItem{
    readonly proid: string ,
    img1:string,
    sales:string,
    proname:string,
    issale:MyIsSale,
    originprice: number,
    discount: number,
    category:string,
    brand:string,
    desc:string,
    img2:string,
    img3:string,
    img4:string,
   
}


//热门搜索商品的接口
export interface MyhotSearchItem{
    readonly wordid: string,
    num :string,
    keyword?: string,
}


//分类商品自定义数组的接口
export interface MyCateBrandGoodsdItem{
    cate: string,
    brand:string,
    list:MyhotItem[]
}


//购物车列表的 每一项
export interface MyCartItem {
    cartidid: string,
    discount: number,
    flag :boolean,
    img1: string,
    proid: string,
    num:number,
    proname: string,
    originprice:number,
    userid: string,
}